package BasicCmIRPSystem;


/**
 * Generated from IDL interface "_BasicCmIrpOperations".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class __BasicCmIrpOperationsStub
	extends org.omg.CORBA.portable.ObjectImpl
	implements BasicCmIRPSystem._BasicCmIrpOperations
{
	private String[] ids = {"IDL:BasicCmIRPSystem/BasicCmIrpOperations:1.0"};
	public String[] _ids()
	{
		return ids;
	}

	public final static java.lang.Class _opsClass = BasicCmIRPSystem._BasicCmIrpOperationsOperations.class;
	public java.lang.String[] get_basic_cm_irp_version() throws BasicCmIRPSystem.GetBasicCmIRPVersion
	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "get_basic_cm_irp_version", true);
				_is = _invoke(_os);
				java.lang.String[] _result = ManagedGenericIRPConstDefs.VersionNumberSetHelper.read(_is);
				return _result;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				if( _id.equals("IDL:BasicCmIRPSystem/GetBasicCmIRPVersion:1.0"))
				{
					throw BasicCmIRPSystem.GetBasicCmIRPVersionHelper.read(_ax.getInputStream());
				}
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "get_basic_cm_irp_version", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			_BasicCmIrpOperationsOperations _localServant = (_BasicCmIrpOperationsOperations)_so.servant;
			java.lang.String[] _result;
			try
			{
				_result = _localServant.get_basic_cm_irp_version();
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return _result;
		}

		}

	}

	public ManagedGenericIRPConstDefs.Method[] get_basic_cm_irp_notification_profile(java.lang.String basic_cm_irp_version) throws BasicCmIRPSystem.GetBasicCmIRPNotificationProfile,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported
	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "get_basic_cm_irp_notification_profile", true);
				_os.write_string(basic_cm_irp_version);
				_is = _invoke(_os);
				ManagedGenericIRPConstDefs.Method[] _result = ManagedGenericIRPConstDefs.MethodListHelper.read(_is);
				return _result;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				if( _id.equals("IDL:BasicCmIRPSystem/GetBasicCmIRPNotificationProfile:1.0"))
				{
					throw BasicCmIRPSystem.GetBasicCmIRPNotificationProfileHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/InvalidParameter:1.0"))
				{
					throw ManagedGenericIRPSystem.InvalidParameterHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/OperationNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.OperationNotSupportedHelper.read(_ax.getInputStream());
				}
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "get_basic_cm_irp_notification_profile", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			_BasicCmIrpOperationsOperations _localServant = (_BasicCmIrpOperationsOperations)_so.servant;
			ManagedGenericIRPConstDefs.Method[] _result;
			try
			{
				_result = _localServant.get_basic_cm_irp_notification_profile(basic_cm_irp_version);
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return _result;
		}

		}

	}

	public void create_managed_object(java.lang.String object_name, java.lang.String reference_object, BasicCmIRPConstDefs.MOAttributeSetHolder attributes, BasicCmIRPConstDefs.AttributeErrorSeqHolder attribute_errors) throws BasicCmIRPSystem.ObjectClassMismatch,BasicCmIRPSystem.IllegalDNFormatException,ManagedGenericIRPSystem.InvalidParameter,BasicCmIRPSystem.NoSuchObjectClass,BasicCmIRPSystem.CreateManagedObject,BasicCmIRPSystem.DuplicateMO,ManagedGenericIRPSystem.ParameterNotSupported,BasicCmIRPSystem.CreateNotAllowed,BasicCmIRPSystem.UndefinedMOException,BasicCmIRPSystem.ParentObjectDoesNotExist,ManagedGenericIRPSystem.OperationNotSupported
	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "create_managed_object", true);
				_os.write_string(object_name);
				_os.write_string(reference_object);
				BasicCmIRPConstDefs.MOAttributeSetHelper.write(_os,attributes.value);
				_is = _invoke(_os);
				attributes.value = BasicCmIRPConstDefs.MOAttributeSetHelper.read(_is);
				attribute_errors.value = BasicCmIRPConstDefs.AttributeErrorSeqHelper.read(_is);
				return;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				if( _id.equals("IDL:BasicCmIRPSystem/ObjectClassMismatch:1.0"))
				{
					throw BasicCmIRPSystem.ObjectClassMismatchHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalDNFormatException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalDNFormatExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/InvalidParameter:1.0"))
				{
					throw ManagedGenericIRPSystem.InvalidParameterHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/NoSuchObjectClass:1.0"))
				{
					throw BasicCmIRPSystem.NoSuchObjectClassHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/CreateManagedObject:1.0"))
				{
					throw BasicCmIRPSystem.CreateManagedObjectHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/DuplicateMO:1.0"))
				{
					throw BasicCmIRPSystem.DuplicateMOHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/ParameterNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.ParameterNotSupportedHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/CreateNotAllowed:1.0"))
				{
					throw BasicCmIRPSystem.CreateNotAllowedHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/UndefinedMOException:1.0"))
				{
					throw BasicCmIRPSystem.UndefinedMOExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/ParentObjectDoesNotExist:1.0"))
				{
					throw BasicCmIRPSystem.ParentObjectDoesNotExistHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/OperationNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.OperationNotSupportedHelper.read(_ax.getInputStream());
				}
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "create_managed_object", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			_BasicCmIrpOperationsOperations _localServant = (_BasicCmIrpOperationsOperations)_so.servant;
			try
			{
				_localServant.create_managed_object(object_name,reference_object,attributes,attribute_errors);
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return;
		}

		}

	}

	public ManagedGenericIRPConstDefs.Method[] get_basic_cm_irp_operation_profile(java.lang.String basic_cm_irp_version) throws BasicCmIRPSystem.GetBasicCmIRPOperationProfile,ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported
	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "get_basic_cm_irp_operation_profile", true);
				_os.write_string(basic_cm_irp_version);
				_is = _invoke(_os);
				ManagedGenericIRPConstDefs.Method[] _result = ManagedGenericIRPConstDefs.MethodListHelper.read(_is);
				return _result;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				if( _id.equals("IDL:BasicCmIRPSystem/GetBasicCmIRPOperationProfile:1.0"))
				{
					throw BasicCmIRPSystem.GetBasicCmIRPOperationProfileHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/InvalidParameter:1.0"))
				{
					throw ManagedGenericIRPSystem.InvalidParameterHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/OperationNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.OperationNotSupportedHelper.read(_ax.getInputStream());
				}
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "get_basic_cm_irp_operation_profile", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			_BasicCmIrpOperationsOperations _localServant = (_BasicCmIrpOperationsOperations)_so.servant;
			ManagedGenericIRPConstDefs.Method[] _result;
			try
			{
				_result = _localServant.get_basic_cm_irp_operation_profile(basic_cm_irp_version);
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return _result;
		}

		}

	}

	public BasicCmIRPSystem.BasicCmInformationIterator find_managed_objects(java.lang.String base_object, BasicCmIRPConstDefs.SearchControl search_control, java.lang.String[] requested_attributes) throws BasicCmIRPSystem.IllegalScopeLevelException,BasicCmIRPSystem.FilterComplexityLimit,BasicCmIRPSystem.IllegalScopeTypeException,BasicCmIRPSystem.IllegalDNFormatException,ManagedGenericIRPSystem.ValueNotSupported,ManagedGenericIRPSystem.InvalidParameter,BasicCmIRPSystem.FindManagedObjects,ManagedGenericIRPSystem.ParameterNotSupported,BasicCmIRPSystem.UndefinedScopeException,BasicCmIRPSystem.IllegalFilterFormatException,BasicCmIRPSystem.UndefinedMOException,ManagedGenericIRPSystem.OperationNotSupported
	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "find_managed_objects", true);
				_os.write_string(base_object);
				BasicCmIRPConstDefs.SearchControlHelper.write(_os,search_control);
				BasicCmIRPConstDefs.AttributeNameSetHelper.write(_os,requested_attributes);
				_is = _invoke(_os);
				BasicCmIRPSystem.BasicCmInformationIterator _result = BasicCmIRPSystem.BasicCmInformationIteratorHelper.read(_is);
				return _result;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				if( _id.equals("IDL:BasicCmIRPSystem/IllegalScopeLevelException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalScopeLevelExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/FilterComplexityLimit:1.0"))
				{
					throw BasicCmIRPSystem.FilterComplexityLimitHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalScopeTypeException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalScopeTypeExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalDNFormatException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalDNFormatExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/ValueNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.ValueNotSupportedHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/InvalidParameter:1.0"))
				{
					throw ManagedGenericIRPSystem.InvalidParameterHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/FindManagedObjects:1.0"))
				{
					throw BasicCmIRPSystem.FindManagedObjectsHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/ParameterNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.ParameterNotSupportedHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/UndefinedScopeException:1.0"))
				{
					throw BasicCmIRPSystem.UndefinedScopeExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalFilterFormatException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalFilterFormatExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/UndefinedMOException:1.0"))
				{
					throw BasicCmIRPSystem.UndefinedMOExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/OperationNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.OperationNotSupportedHelper.read(_ax.getInputStream());
				}
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "find_managed_objects", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			_BasicCmIrpOperationsOperations _localServant = (_BasicCmIrpOperationsOperations)_so.servant;
			BasicCmIRPSystem.BasicCmInformationIterator _result;
			try
			{
				_result = _localServant.find_managed_objects(base_object,search_control,requested_attributes);
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return _result;
		}

		}

	}

	public BasicCmIRPSystem.ModifyResultIterator modify_managed_objects(java.lang.String base_object, BasicCmIRPConstDefs.SearchControl search_control, BasicCmIRPConstDefs.AttributeModification[] modifications) throws BasicCmIRPSystem.IllegalScopeLevelException,BasicCmIRPSystem.FilterComplexityLimit,BasicCmIRPSystem.IllegalDNFormatException,BasicCmIRPSystem.IllegalScopeTypeException,ManagedGenericIRPSystem.InvalidParameter,BasicCmIRPSystem.UndefinedScopeException,BasicCmIRPSystem.IllegalFilterFormatException,BasicCmIRPSystem.UndefinedMOException,ManagedGenericIRPSystem.OperationNotSupported,BasicCmIRPSystem.ModifyManagedObjects
	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "modify_managed_objects", true);
				_os.write_string(base_object);
				BasicCmIRPConstDefs.SearchControlHelper.write(_os,search_control);
				BasicCmIRPConstDefs.AttributeModificationSetHelper.write(_os,modifications);
				_is = _invoke(_os);
				BasicCmIRPSystem.ModifyResultIterator _result = BasicCmIRPSystem.ModifyResultIteratorHelper.read(_is);
				return _result;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				if( _id.equals("IDL:BasicCmIRPSystem/IllegalScopeLevelException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalScopeLevelExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/FilterComplexityLimit:1.0"))
				{
					throw BasicCmIRPSystem.FilterComplexityLimitHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalDNFormatException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalDNFormatExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalScopeTypeException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalScopeTypeExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/InvalidParameter:1.0"))
				{
					throw ManagedGenericIRPSystem.InvalidParameterHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/UndefinedScopeException:1.0"))
				{
					throw BasicCmIRPSystem.UndefinedScopeExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalFilterFormatException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalFilterFormatExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/UndefinedMOException:1.0"))
				{
					throw BasicCmIRPSystem.UndefinedMOExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/OperationNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.OperationNotSupportedHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/ModifyManagedObjects:1.0"))
				{
					throw BasicCmIRPSystem.ModifyManagedObjectsHelper.read(_ax.getInputStream());
				}
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "modify_managed_objects", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			_BasicCmIrpOperationsOperations _localServant = (_BasicCmIrpOperationsOperations)_so.servant;
			BasicCmIRPSystem.ModifyResultIterator _result;
			try
			{
				_result = _localServant.modify_managed_objects(base_object,search_control,modifications);
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return _result;
		}

		}

	}

	public BasicCmIRPSystem.DeleteResultIterator delete_managed_objects(java.lang.String base_object, BasicCmIRPConstDefs.SearchControl search_control) throws BasicCmIRPSystem.IllegalScopeLevelException,BasicCmIRPSystem.FilterComplexityLimit,BasicCmIRPSystem.IllegalDNFormatException,BasicCmIRPSystem.IllegalScopeTypeException,ManagedGenericIRPSystem.InvalidParameter,BasicCmIRPSystem.UndefinedScopeException,BasicCmIRPSystem.IllegalFilterFormatException,BasicCmIRPSystem.UndefinedMOException,ManagedGenericIRPSystem.OperationNotSupported,BasicCmIRPSystem.DeleteManagedObjects
	{
		while(true)
		{
		if(! this._is_local())
		{
			org.omg.CORBA.portable.InputStream _is = null;
			try
			{
				org.omg.CORBA.portable.OutputStream _os = _request( "delete_managed_objects", true);
				_os.write_string(base_object);
				BasicCmIRPConstDefs.SearchControlHelper.write(_os,search_control);
				_is = _invoke(_os);
				BasicCmIRPSystem.DeleteResultIterator _result = BasicCmIRPSystem.DeleteResultIteratorHelper.read(_is);
				return _result;
			}
			catch( org.omg.CORBA.portable.RemarshalException _rx ){}
			catch( org.omg.CORBA.portable.ApplicationException _ax )
			{
				String _id = _ax.getId();
				if( _id.equals("IDL:BasicCmIRPSystem/IllegalScopeLevelException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalScopeLevelExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/FilterComplexityLimit:1.0"))
				{
					throw BasicCmIRPSystem.FilterComplexityLimitHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalDNFormatException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalDNFormatExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalScopeTypeException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalScopeTypeExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/InvalidParameter:1.0"))
				{
					throw ManagedGenericIRPSystem.InvalidParameterHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/UndefinedScopeException:1.0"))
				{
					throw BasicCmIRPSystem.UndefinedScopeExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/IllegalFilterFormatException:1.0"))
				{
					throw BasicCmIRPSystem.IllegalFilterFormatExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/UndefinedMOException:1.0"))
				{
					throw BasicCmIRPSystem.UndefinedMOExceptionHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:ManagedGenericIRPSystem/OperationNotSupported:1.0"))
				{
					throw ManagedGenericIRPSystem.OperationNotSupportedHelper.read(_ax.getInputStream());
				}
				else if( _id.equals("IDL:BasicCmIRPSystem/DeleteManagedObjects:1.0"))
				{
					throw BasicCmIRPSystem.DeleteManagedObjectsHelper.read(_ax.getInputStream());
				}
				throw new RuntimeException("Unexpected exception " + _id );
			}
			finally
			{
				this._releaseReply(_is);
			}
		}
		else
		{
			org.omg.CORBA.portable.ServantObject _so = _servant_preinvoke( "delete_managed_objects", _opsClass );
			if( _so == null )
				throw new org.omg.CORBA.UNKNOWN("local invocations not supported!");
			_BasicCmIrpOperationsOperations _localServant = (_BasicCmIrpOperationsOperations)_so.servant;
			BasicCmIRPSystem.DeleteResultIterator _result;
			try
			{
				_result = _localServant.delete_managed_objects(base_object,search_control);
			}
			finally
			{
				_servant_postinvoke(_so);
			}
			return _result;
		}

		}

	}

}
